﻿<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en">
<!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
    <meta charset="utf-8" />
    <title>安快物流</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1.0" name="viewport" />
    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <meta content="" name="description" />
    <meta content="" name="author" />
    <!-- BEGIN GLOBAL MANDATORY STYLES -->
    <link href="/Global/Plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
    <link href="/Global/Plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" type="text/css" />
    <link href="/Global/Plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <!-- BEGIN THEME STYLES -->
    <link href='/application/global/css/themes/darkblue.css' rel='stylesheet' type='text/css' id='themes_color' />
    <link href="/application/home/css/profile.css" rel="stylesheet" />
    <!-- END THEME STYLES -->
    <!-- END GLOBAL MANDATORY STYLES -->
    <link rel="shortcut icon" href="/application/global/favicon.ico" />
</head>
<!-- END HEAD -->
<!-- BEGIN BODY -->
<!-- DOC: Apply "page-header-fixed-mobile" and "page-footer-fixed-mobile" class to body element to force fixed header or footer in mobile devices -->
<!-- DOC: Apply "page-sidebar-closed" class to the body and "page-sidebar-menu-closed" class to the sidebar menu element to hide the sidebar by default -->
<!-- DOC: Apply "page-sidebar-hide" class to the body to make the sidebar completely hidden on toggle -->
<!-- DOC: Apply "page-sidebar-closed-hide-logo" class to the body element to make the logo hidden on sidebar toggle -->
<!-- DOC: Apply "page-sidebar-hide" class to body element to completely hide the sidebar on sidebar toggle -->
<!-- DOC: Apply "page-sidebar-fixed" class to have fixed sidebar -->
<!-- DOC: Apply "page-footer-fixed" class to the body element to have fixed footer -->
<!-- DOC: Apply "page-sidebar-reversed" class to put the sidebar on the right side -->
<!-- DOC: Apply "page-full-width" class to the body element to have full width page without the sidebar menu -->
<body class="page-md ">
    <!-- BEGIN CONTAINER -->
    <div class="page-container no-margin">
        <!-- BEGIN CONTENT -->
        <div class="page-content">
            <!-- BEGIN PAGE CONTENT-->
            <div class="portlet box default-color" data-model="userInfo">
                <div class="portlet-title">
                    <div class="caption">
                        <i class="fa fa-globe"></i>个人信息
                    </div>
                </div>
                <div class="portlet-body">
                    <div class="table-toolbar" data-model="contractform" style="display: block;">
                        <div class="row">
                            <div class="col-md-12">
                                <div class="btn-group float-right">
                                    <a href="javascript:;" class="btn blue-dark " data-bind="click:update">
                                        保存
                                    </a>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row profile">
                        <div class="col-md-3">
                            <ul class="list-unstyled profile-nav">
                                <li>
                                    <img data-bind="attr:{'src':$root.filePath()==''?'../Global/Img/profile-img.png':$root.filePath()}" class="img-responsive" alt="" />
                                    <a href="javascript:;" class="profile-edit" id="upload">
                                        编辑头像
                                    </a>
                                </li>
                                <!--<p data-bind="foreach:files">
                                    <a class="fancybox-thumbs" data-fancybox-group="thumb" data-bind="attr:{'href':$data.url}" style="width: 100px; height: 100px; position:relative;">
                                        <i class="file-remove fa fa-remove" data-bind="click:$root.removeFile"></i>
                                        <img alt="" data-bind="attr:{'src':$data.url}" style="width: 100px; height: 100px;" />
                                    </a>
                                </p>-->
                            </ul>
                        </div>
                        <div class="col-md-9">
                            <form role="form" action="#">
                                <div class="form-group">
                                    <label class="control-label">用户名</label>
                                    <span class="form-control" disabled="disabled" data-bind="text:U_LoginName"></span>
                                </div>
                                <div class="form-group">
                                    <label class="control-label">姓名</label>
                                    <input type="text" class="form-control" data-bind="value:U_Name" />
                                </div>

                                <div class="form-group">
                                    <label class="control-label">性别</label>
                                    <select class="form-control" data-bind="value:U_Gender">
                                        <option>男</option>
                                        <option>女</option>
                                    </select>
                                </div>
                                <div class="form-group">
                                    <label class="control-label">手机号</label>
                                    <input type="text" data-bind="value:U_Mobile" class="form-control" />
                                </div>
                                <div class="form-group">
                                    <label class="control-label">Email</label>
                                    <input type="text" data-bind="value:U_Email" class="form-control" />
                                </div>
                                <div class="form-group">
                                    <label class="control-label">所属部门</label>
                                    <div class="input-group">
                                        <select disabled="disabled" style=" width:40%;" class="form-control" data-bind="value:U_Branch_ID, options:branches,optionsText:'name',optionsValue:'value'"></select>
                                        <select disabled="disabled" style=" width:60%;" class="form-control" data-bind="value:U_Node_ID,options:nodes,optionsText:'name',optionsValue:'value'"></select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="control-label">职位</label>
                                    <span class="form-control" disabled="disabled" data-bind="text:U_Position"></span>
                                </div>
                                <div class="form-group">
                                    <label class="control-label">电话</label>
                                    <input type="text" data-bind="value:U_Phone" class="form-control" />
                                </div>
                                <div class="form-group">
                                    <label class="control-label">密码</label>
                                    <div class="input-group">
                                        <span class="input-group-addon">
                                            <input type="checkbox" data-bind="checked10: updatepwd" />
                                        </span>
                                        <span class="input-group-addon" style="padding-left:0px;">设置</span>
                                        <input type="password" data-rule="required" class="form-control" data-bind="value:U_Password, attr:{ disabled: updatepwd() == '0' }">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="control-label">二维码登录</label>
                                    <!--ko if:(tempQRcode()==""&&(U_QRCode()==""||U_QRCode()==null))-->
                                    <div class="alert alert-info" id="s1">
                                        点击“手机注册”按钮将生成当前用户注册用二维码，使用您的手机扫描二维码注册成功后，您将可以使用手机登录。
                                        <br />
                                        <br />
                                        <button class="btn btn-primary" data-bind="click:qrGeneration">手机注册</button>
                                    </div>
                                    <!--/ko-->
                                    <!--ko if:tempQRcode()!=""-->
                                    <div class="input-group">
                                        <div class="alert alert-danger" id="s2">
                                            请使用您的手机扫描下方二维码，完成二维码登录注册。
                                            <br />
                                            <br />
                                        </div>
                                        <canvas width="200" height="200" id="qrc"></canvas>
                                    </div>
                                    <!--/ko-->
                                    <!--ko if:(U_QRCode()!=""&&U_QRCode()!=null)-->
                                    <div class="alert alert-success" id="s3">
                                        手机注册成功，您可以使用您的手机扫描二维码登录系统。<br />
                                        如果不想再使用注册手机登录，请点击下方“取消手机注册”按钮，解除登录用绑定手机。
                                        <br />
                                        <br />
                                        <button class="btn btn-danger" data-bind="click:qrCancel">取消手机注册</button>
                                    </div>
                                    <!--/ko-->
                                </div>
                            </form>
                        </div>
                        <!--end col-md-9-->
                    </div>

                </div>
            </div>


            <!-- END PAGE CONTENT-->
        </div>
        <!-- END CONTENT -->
    </div>
    <!-- END CONTAINER -->
    <!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->
    <!-- BEGIN CORE PLUGINS -->
    <!--[if lt IE 9]>
    <script src="../../Global/Plugins/excanvas.min.js"></script>
    <script src="../../Global/Plugins/respond.min.js"></script>
    <![endif]-->
    <script src="../../Global/Scripts/require.js"></script>
    <script src="../../Global/Scripts/akcy.config.js"></script>
    <script src="Scripts/profile.js"></script>
</body>
<!-- END BODY -->
</html>
